
const { ccclass, property } = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {
    start(){
        cc.game.addPersistRootNode(this.node)
    }

    restartGame() {
        cc.director.loadScene("main");
    }

    resetLevel(){
        cc.sys.localStorage.setItem('level', 1);
        cc.sys.localStorage.setItem('bombCount', 0);
        cc.sys.localStorage.setItem('stoneValueUpCount', 0);
    }
}
